<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('修改检测数据')"/>
            <th:block th:include="include :: datetimepicker-css"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-monitoring_data-edit" th:object="${rdMonitoringData}">
        <input name="id" th:field="*{id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label is-required">归属路桩
                                ：</label>
                            <div class="col-sm-8">
                                <input name="fkId" th:field="*{fkId}" class="form-control"
                                       type="text" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">备注
                                ：</label>
                            <div class="col-sm-8">
                                <input name="remark" th:field="*{remark}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">PQI
                                ：</label>
                            <div class="col-sm-8">
                                <input name="PQI" th:field="*{PQI}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">数据日期
                                ：</label>
                            <div class="col-sm-8">
                                <div class="input-group date">
                                    <input name="dataTime"
                                           th:value="${#dates.format(rdMonitoringData.dataTime, 'yyyy-MM-dd')}"
                                           class="form-control" placeholder="yyyy-MM-dd"
                                           type="text">
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">序列号
                                ：</label>
                            <div class="col-sm-8">
                                <input name="serialNumber" th:field="*{serialNumber}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">PCI
                                ：</label>
                            <div class="col-sm-8">
                                <input name="PCI" th:field="*{PCI}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">RDI
                                ：</label>
                            <div class="col-sm-8">
                                <input name="RDI" th:field="*{RDI}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">RQI
                                ：</label>
                            <div class="col-sm-8">
                                <input name="RQI" th:field="*{RQI}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">SRI
                                ：</label>
                            <div class="col-sm-8">
                                <input name="SRI" th:field="*{SRI}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">PSSI
                                ：</label>
                            <div class="col-sm-8">
                                <input name="PSSI" th:field="*{PSSI}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">国家标准
                                ：</label>
                            <div class="col-sm-8">
                                <input name="standard0" th:field="*{standard0}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">省级标准
                                ：</label>
                            <div class="col-sm-8">
                                <input name="standard1" th:field="*{standard1}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">地区标准
                                ：</label>
                            <div class="col-sm-8">
                                <input name="standard2" th:field="*{standard2}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">系统标准
                                ：</label>
                            <div class="col-sm-8">
                                <input name="standard3" th:field="*{standard3}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">标准5
                                ：</label>
                            <div class="col-sm-8">
                                <input name="standard4" th:field="*{standard4}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">标准6
                                ：</label>
                            <div class="col-sm-8">
                                <input name="standard5" th:field="*{standard5}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">国家标准的类型
                                ：</label>
                            <div class="col-sm-8">
                                <select name="standard0Type" class="form-control m-b">
                                    <option value="">所有</option>
                                </select>
                                <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">省级标准的类型
                                ：</label>
                            <div class="col-sm-8">
                                <select name="standard1Type" class="form-control m-b">
                                    <option value="">所有</option>
                                </select>
                                <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">地区标准的类型
                                ：</label>
                            <div class="col-sm-8">
                                <select name="standard2Type" class="form-control m-b">
                                    <option value="">所有</option>
                                </select>
                                <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">系统标准的类型
                                ：</label>
                            <div class="col-sm-8">
                                <select name="standard3Type" class="form-control m-b">
                                    <option value="">所有</option>
                                </select>
                                <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">标准5的类型
                                ：</label>
                            <div class="col-sm-8">
                                <select name="standard4Type" class="form-control m-b">
                                    <option value="">所有</option>
                                </select>
                                <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">标准6的类型
                                ：</label>
                            <div class="col-sm-8">
                                <select name="standard5Type" class="form-control m-b">
                                    <option value="">所有</option>
                                </select>
                                <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                            </div>
                        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
        <th:block th:include="include :: datetimepicker-js"/>
<script th:inline="javascript">
    var prefix = ctx + "road/monitoring_data";
    $("#form-monitoring_data-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-monitoring_data-edit').serialize());
        }
    }

            $("input[name='dataTime']").datetimepicker({
                format: "yyyy-mm-dd",
                minView: "month",
                autoclose: true
            });
</script>
</body>
</html>
